<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/com/include/declare.jspf" %>
<%-- 
    JSP Name : estimation_tcolorList.jsp
    Description : 외장색상
    author SJYoon
    since 2012. 6. 25.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 6. 25.     SJYoon     최초 생성
--%>
                                           
                                    <c:set var="t" scope="page" value="1"></c:set>
                                    <c:set var="size" scope="page" value="${fn:length(tcolorList) }" />
                                    
                                    <c:if test="${size != 0 }" >
                                    <c:forEach var="j" begin="0" end="${size }" >
    
                                        <c:if test="${t % 2 == 1 }">
                                        <div class="section"></c:if>
                                               
                                                <c:if test="${not empty tcolorList[j].carcode }">
                                                <div class="cell">
                                                    <label>
                                                        <input type="radio" class="check" name="tcolor" id="tcolor" onclick="openIColor('<c:out value="${tcolorList[j].colorname }"/>','<c:out value="${tcolorList[j].price}"/>','<c:out value="${tcolorList[j].colorcode }"/>', '<c:out value="${tcolorList[j].vehlimage }"/>');" />
                                                        <img src="/kr/file/imagePathView.do?nrFilNm=trcolor/<c:out value="${tcolorList[j].colorimage}"/>" alt="컬러이미지" class="color-img" />
                                                            <c:out value="${tcolorList[j].colorname }"/>
                                                    </label>
                                                    <p class="price"><fmt:formatNumber type="NUMBER"  groupingUsed="true"><c:out value="${tcolorList[j].price}"/></fmt:formatNumber>원</p>
                                                </div>
                                                </c:if>

                                        <c:if test="${t % 2 == 0 || j == size }">
                                        </div></c:if>
                                    
                                    <c:set var="t" scope="page" value="${t+1 }"></c:set>
                                    </c:forEach>
                                    </c:if>
                                
